package com.cn.springcloudwechat.mapper.mapper.find.courseall;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.cn.springcloudwechat.common.mybatis.Page;
import com.cn.springcloudwechat.model.YmCourse;
import org.springframework.stereotype.Repository;

@Repository
public interface YmCourseMapper {
    int deleteByPrimaryKey(Long courseId);

    int insert(YmCourse record);

    Integer insertSelective(YmCourse record);

    List<Object> selectByPrimaryKey(@Param("YmCourse") YmCourse ymCourse,Page<Object> page);

    int updateByPrimaryKeySelective(YmCourse record);

    int updateByPrimaryKey(YmCourse record);
    
    
    void updateCourseStateMapper(Map<String,Object> map);
}